import Layout from '@/layout'
export default {
  path: '/schedule',
  component: Layout,
  redirect: '/schedule',
  meta: { title: '调度管理', icon: 'dashboard' },
  children: [
    {
      path: '/transportation',
      name: 'transportation',
      component: () => import('@/views/schedule/children/transportation'),
      meta: { title: '运输任务管理', icon: 'dashboard' }
    },
    {
      path: '/route',
      name: 'route',
      component: () => import('@/views/schedule/children/route'),
      meta: { title: '线路管理', icon: 'dashboard' }
    },
    {
      path: '/pick-up',
      name: 'pick-up',
      component: () => import('@/views/schedule/children/pick-up'),
      meta: { title: '取件作业管理', icon: 'dashboard' }
    },
    {
      path: '/delivery',
      name: 'delivery',
      component: () => import('@/views/schedule/children/delivery'),
      meta: { title: '派件作业管理', icon: 'dashboard' }
    }
  ]
}
